<template>
  <el-row>
    <el-row type="flex" align="middle">
      <el-form label-width="100px" :inline="true">
        <el-form-item label="任务类型：">
          <el-select v-model="taskType" placeholder="请选择">
            <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="负责人">
          <el-select v-model="taskType" placeholder="请选择">
            <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-form>
    </el-row>
    <el-table :data="milepostDataList" :header-row-style="{background:'#F5F7FA',color:'#606266'}" stripe style="width: 100%" border fit>
      <el-table-column prop="name" label="任务名称" min-width="15%" align="center">
      </el-table-column>
      <el-table-column prop="headerOfTask" label="任务负责人" min-width="15%" align="center">
      </el-table-column>
      <el-table-column prop="publisher" label="发布人" min-width="15%" align="center">
      </el-table-column>
      <el-table-column prop="status" label="状态" min-width="15%" align="center">
      </el-table-column>
      <el-table-column prop="planBeiginDate" label="计划开始日期" min-width="15%" align="center">
      </el-table-column>
      <el-table-column prop="planEndDate" label="计划结束日期" min-width="25%" align="center">
      </el-table-column>
    </el-table>
  </el-row>

</template>

<script>
export default {
  name: 'task',
  components: {},
  props: {},
  data() {
    return {
      milepostDataList: [
        {
          name: '需求调研',
          planBeiginDate: '2020-02-15',
          planEndDate: '2020-02-30',
          overdueDayCount: 0,
          publisher: '武生鸿',
          headerOfTask: '李万鹏',
          status: '已完成'
        },
        {
          name: '方案设计',
          planBeiginDate: '2020-02-15',
          planEndDate: '2020-02-30',
          overdueDayCount: 0,
          publisher: '武生鸿',
          headerOfTask: '李万鹏',
          status: '已完成'
        },
        {
          name: '研发',
          planBeiginDate: '2020-02-15',
          planEndDate: '2020-02-30',
          overdueDayCount: 0,
          publisher: '武生鸿',
          headerOfTask: '李万鹏',
          status: '已完成'
        }
      ],
      options: [
        {
          value: '选项1',
          label: '设计任务'
        },
        {
          value: '选项2',
          label: '开发任务'
        },
        {
          value: '选项3',
          label: '调研任务'
        },
        {
          value: '选项4',
          label: '实施任务'
        },
        {
          value: '选项5',
          label: '验收任务'
        }
      ],
      taskType: ''
    }
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {}
}
</script>
<style lang="scss" scoped>
</style>
